XCOMM $XFree86: xc/lib/font/bitmap/module/Imakefile,v 1.5 1999/12/03 19:17:18 eich Exp $

#define IHaveModules
#include <Server.tmpl>

        INCLUDES = -I$(FONTINCSRC) -I../../include -I$(SERVERSRC)/include \
		   -I$(XTOP)/include -I../
         HEADERS = 
         DEFINES = -DFONTMODULE -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT

#ifdef FontFormatDefines
     FORMAT_DEFS = FontFormatDefines
#endif
#if GzipFontCompression
       GZIP_DEFS = -DX_GZIP_FONT_COMPRESSION
#endif

            SRCS = bdfread.c bdfutils.c bitmap.c bitmaputil.c bitscale.c \
		   bitmapfunc.c pcfread.c pcfwrite.c snfread.c \
		   fontink.c bitmapmod.c

            OBJS = bdfread.o bdfutils.o bitmap.o bitmaputil.o bitscale.o \
		   bitmapfunc.o pcfread.o pcfwrite.o snfread.o \
		   fontink.o bitmapmod.o

SpecialCObjectRule(bitmapfunc,$(ICONFIGFILES),$(GZIP_DEFS))

LinkSourceFile(bdfread.c,..)
LinkSourceFile(bdfutils.c,..)
LinkSourceFile(bitmap.c,..)
LinkSourceFile(bitmaputil.c,..)
LinkSourceFile(bitscale.c,..)
LinkSourceFile(bitmapfunc.c,..)
LinkSourceFile(pcfread.c,..)
LinkSourceFile(pcfwrite.c,..)
LinkSourceFile(snfread.c,..)
LinkSourceFile(fontink.c,..)

ModuleObjectRule()
LibraryModuleTarget(bitmap,$(OBJS))
InstallLibraryModule(bitmap,$(MODULEDIR),fonts)

DependTarget()

InstallDriverSDKLibraryModule(bitmap,$(DRIVERSDKMODULEDIR),fonts)
